package com.lzy.cloud.ticket.train.servcie;

import com.lzy.cloud.ticket.train.dtos.TrainInsuranceDto;

/**
 * Created by WIN7 on 2018/6/1.
 */
public interface TrainInsuranceService {

    /**
     * 新增火车票保险信息
     * @param trainInsuranceDto
     * @return
     */
    boolean createTrainInsurance(TrainInsuranceDto trainInsuranceDto);

    /**
     * 更新火车票保险信息
     * @param trainInsuranceDto
     * @return
     */
    boolean updateTrainInsurance(TrainInsuranceDto trainInsuranceDto);

}
